package com.zl.test.restdemo.mapper;

import com.zl.test.restdemo.entity.MiddleScore;
import com.zl.test.restdemo.entity.MiddleScoreExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MiddleScoreMapper {
    int countByExample(MiddleScoreExample example);

    int deleteByExample(MiddleScoreExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MiddleScore record);

    int insertSelective(MiddleScore record);

    List<MiddleScore> selectByExample(MiddleScoreExample example);

    MiddleScore selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MiddleScore record, @Param("example") MiddleScoreExample example);

    int updateByExample(@Param("record") MiddleScore record, @Param("example") MiddleScoreExample example);

    int updateByPrimaryKeySelective(MiddleScore record);

    int updateByPrimaryKey(MiddleScore record);
}